package org.webball.server;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

import org.webball.base.interfaces.ICommunication;
import org.webball.communication.Communication;

public class TestServer {
	public static void main(String args[]){
		Server server= Server.getInstance();
		/*
		try{
			ServerSocket serverSocket= new ServerSocket(5466);
			Socket socket= serverSocket.accept();
			ICommunication communication= new Communication(socket);
			communication.start();
		}catch(IOException e){
			
		}
		*/
		
		try {
			server.start();
			System.out.println("Server started");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
